package grape.house.rest.estatephase.mapper;

import grape.house.rest.estatephase.form.EstatePhaseListForm;
import grape.house.service.estatephase.po.EstatePhase;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import grape.house.rest.estatephase.form.EstatePhaseCreateForm;
import grape.house.rest.estatephase.form.EstatePhaseUpdateForm;
import grape.house.rest.estatephase.form.EstatePhaseListPageForm;
import grape.house.rest.estatephase.vo.EstatePhaseVo;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 楼盘分期表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-09-17
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface EstatePhaseWebMapper extends WebMapper<EstatePhaseVo, EstatePhase> {

    EstatePhase formToPo(EstatePhaseCreateForm f);
    EstatePhase formToPo(EstatePhaseUpdateForm f);
    EstatePhase formToPo(EstatePhaseListPageForm f);
    EstatePhase formToPo(EstatePhaseListForm f);
}
